package cn.ranko.site.mapper;

import cn.ranko.site.model.SysMenus;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SysMenusMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysMenus record);

    int insertSelective(SysMenus record);

    SysMenus selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysMenus record);

    int updateByPrimaryKey(SysMenus record);

    List<SysMenus> getMenusByUserIdAndParentId(HashMap params);

    List<Map> selectAll();

}